﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Atomic.User.Entities;
using FluentNHibernate.Mapping;

namespace Atomic.User.Mappings
{
    public class UserTypeMap : ClassMap<UserTypeEntity>
    {
        public UserTypeMap()
        {
            Table("UserType");
            Id(m => m.ID).GeneratedBy.Native();
            Map(m => m.Name).Length(20).Not.Nullable();
        }
    }
}
